package com.megalith.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2022/7/16
 * @Version 1.0
 */
@Data
@ApiModel(value = "TaskAssignDTO",description = "任务指派DTO")
public class TaskAssignDTO {
    @ApiModelProperty(value = "当前用户ID",required = true)
    @NotBlank(message = "currentUserId 不能为空")
    private String currentUserId;

    @ApiModelProperty(value = "目标用户ID",required = true)
    @NotBlank(message = "targetUserId 不能为空")
    private String targetUserId;

    @ApiModelProperty(value = "流程实例编号",required = true)
    @NotBlank(message = "processInstanceId 不能为空")
    private String processInstanceId;
}
